package com.hudongwx.food.adapter;

import android.support.v4.view.PagerAdapter;
import android.view.View;

import org.json.JSONArray;

/**
 * Author:降初
 * DateTime:16-12-13 下午5:52
 */
public class ViewPagerAdapter extends PagerAdapter {
    public ViewPagerAdapter(JSONArray img) {
        this.img = img;
    }

    JSONArray img;
    @Override
    public int getCount() {
        return img.length();
    }

    @Override
    public boolean isViewFromObject(View view, Object object) {

        return false;
    }
}
